package com.gitee.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gitee.pojo.CookbookFood;

public interface ICookbookFoodService extends IService<CookbookFood> {

    /**
     * 更新库存
     * @param cookbookId
     * @param foodId
     * @return
     */
    Boolean updateByCookbookIdAndFoodId(Integer cookbookId, Integer foodId, Integer stock);
}
